package com.zwkj.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @TableName w_file_t
 */
@TableName(value = "w_file_t")
@Data
public class WFileT implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.ID_WORKER)
    private Long id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private Integer version;

    /**
     *
     */
    private Long size;

    /**
     *
     */
    private String creator;

    /**
     *
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     *
     */
    private String modifier;

    /**
     *
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifyTime;

    /**
     *
     */
    private String downloadUrl;

    /**
     *
     */
    @TableLogic
    private Integer isDelete;


    /**
     *
     */
    private String fileLocation;


    /**
     *
     */
    private Long tableFileId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}